<template>
  <div>
    <input
        type="text"
        :value="num"
        @input="$emit('numChange',$event.target.value)"
    >
  </div>
</template>

<script>

export default {

  model: {
    prop:"num",
    value: "num",
    event: "numChange"
  },
  props: ["num"]

}

</script>
